package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {



    List<NursingLevelVo> getAllLevel();

    void addlevel(NursingLevel nursingLevel);

    Page<NursingLevel> getPage(String name, Integer status);

    NursingLevelVo getByid(Long id);

    void updatelevel(NursingLevel nursingLevel);

    void deleteByid(Long id);

    void updatestatus(Long id, Integer status);
}
